package com.ubs.persistence.entity;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the account_service_xref database table.
 * 
 */
@Entity
@Table(name="account_service_xref")
public class AccountServiceEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private AccountServicePK id;

	@Column(name="service_status")
	private String serviceStatus;

	@ManyToOne
	@JoinColumn(name="account_id", referencedColumnName="id", insertable=false, updatable=false)
	private AccountEntity account;
	
    public AccountServiceEntity() {
    }

	public AccountServicePK getId() {
		return this.id;
	}

	public void setId(AccountServicePK id) {
		this.id = id;
	}
	
	public String getServiceStatus() {
		return this.serviceStatus;
	}

	public void setServiceStatus(String serviceStatus) {
		this.serviceStatus = serviceStatus;
	}

	public void setAccount(AccountEntity account) {
		this.account = account;
	}

	public AccountEntity getAccount() {
		return account;
	}

}